package com.oamicnet.serviceone.server.converter;

import com.oamicnet.serviceone.api.teacher.vo.TeacherVO;
import com.oamicnet.serviceone.server.entity.Teacher;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface TeacherConverter {
    TeacherVO convertToTeacherVO(Teacher teacher);

    Teacher convertToTeacher(TeacherVO teacherVO);

    List<TeacherVO> convertToTeacherVOList(List<Teacher> teachers);
}
